New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bpui/component-utils

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpui/component-utils

utility of components

  • 0.1.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
31
increased by520%
Maintainers
1
Weekly downloads
 
Created
Source
export module mask {
  /**
  * @desc: 当前页面的modal层数量.
  */
  export function getWidgetLength():number;

  /**
  * @desc: Modal层当前的zindex.
  */
  export function getWidgetZIndex(dataMark:string):number;

  /**
  * @desc: 显示Modal层.
  * @ewruen 返回当前的zindex.
  */
  export function showWidget(el:HTMLElement, showMask:boolean, preventEvent:boolean, cbFinish:()=>void):void;

  /**
   * @desc: 隐藏Modal层.
   */
  export function hideWidget(el:HTMLElement, cbFinish:()=>void):void;
}

mask下的api可以处理modal层. 如果div拥有bp-apiClass类, 则会在最上层显示.

style

/* scss */
import '@bpui/component-utils/style';

/* css */
<link href="~@bpui/component-utils/dist/style.css" rel="stylesheet" type="text/css"/>

FAQs

Package last updated on 14 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc